package com.atguigu.service.impl;

import com.atguigu.dao.UserDao;
import com.atguigu.dao.impl.UserDaoImpl;
import com.atguigu.pojo.User;
import com.atguigu.service.UserService;

public class UserServiceImpl implements UserService {
     //调用dao接口
     private UserDao userDao=new UserDaoImpl();
    @Override
    public int saveUser(User user) {
        return userDao.saveUser(user);
    }
}
